package com.hdw.med.api;

import com.hdw.common.vo.PaginationVO;
import com.hdw.med.bean.model.BaseDbTpcomp;

import java.util.List;
import java.util.Map;

/**
 * baseDbTpcomp服务类
 * Created by hozeData on 2021/05/28.
 */
public interface BaseDbTpcompService {

    List<BaseDbTpcomp> findByModel(BaseDbTpcomp baseDbTpcomp);

    PaginationVO<BaseDbTpcomp> findPageByModel(BaseDbTpcomp baseDbTpcomp, Integer pageNum, Integer pageSize);

    BaseDbTpcomp getById(Long idDbTpcomp);

    int insert(BaseDbTpcomp baseDbTpcomp);

    int insertSelective(BaseDbTpcomp baseDbTpcomp);

    int updateByIdSelective(BaseDbTpcomp baseDbTpcomp);

    int updateById(BaseDbTpcomp baseDbTpcomp);

    int deleteById(Long idDbTpcomp);

    List<BaseDbTpcomp> findByDbType(String dbType);

    Map<Integer, BaseDbTpcomp> findByDbTypeMap(String dbType);

    Map<Integer,String> findByDbType2(String dbType);

}
